﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace PersonalAlbum 
{
    public class TextResult:ActionResult
    {
        public string Content { get; set; }
        public TextResult(string content)
        {
            this.Content = content;
        }
        public override void ExecuteResult(ControllerContext context)
        {
            context.HttpContext.Response.Write(this.Content);
        }
    }
}
